package com.ruoyi.scient.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 讲座申请对象 scient_lecture
 * 
 * @author zhangcong
 * @date 2025-11-03
 */
public class ScientLecture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 申请人 */
    @Excel(name = "申请人")
    private String nickName;



    private Long userId;

    /** 讲座题目 */
    @Excel(name = "讲座题目")
    private String title;

    /** 讲座主题 */
    @Excel(name = "讲座主题")
    private String theme;

    /** 主办单位 */
    @Excel(name = "主办单位")
    private String organizer;

    /** 讲座地点 */
    @Excel(name = "讲座地点")
    private String location;

    /** 讲座时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "讲座时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 参与人数 */
    @Excel(name = "参与人数")
    private Long participantCount;

    /** 报告时长（分钟） */
    @Excel(name = "报告时长", readConverterExp = "分=钟")
    private Long reportDuration;

    /** 分类 */
    @Excel(name = "分类")
    private String category;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setTheme(String theme) 
    {
        this.theme = theme;
    }

    public String getTheme() 
    {
        return theme;
    }

    public void setOrganizer(String organizer) 
    {
        this.organizer = organizer;
    }

    public String getOrganizer() 
    {
        return organizer;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setParticipantCount(Long participantCount) 
    {
        this.participantCount = participantCount;
    }

    public Long getParticipantCount() 
    {
        return participantCount;
    }

    public void setReportDuration(Long reportDuration) 
    {
        this.reportDuration = reportDuration;
    }

    public Long getReportDuration() 
    {
        return reportDuration;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("theme", getTheme())
            .append("organizer", getOrganizer())
            .append("location", getLocation())
            .append("startTime", getStartTime())
            .append("participantCount", getParticipantCount())
            .append("reportDuration", getReportDuration())
            .append("category", getCategory())
            .append("createTime", getCreateTime())
            .toString();
    }
}
